﻿@{  
    DateTime updateDate = DateTime.Today;
        
    c.CustomerClassification=Request["classification"];
    
    if Request["status"]="Lead"
        c.CustomerStatus="Prospect";
    else
        c.CustomerStatus=Request["status"];
    
    c.Country=Request["country"];
    c.Gender=Request["sex"];
    c.Nationality=Request["nationality"];
    c.Bdate=Request["bdate"];
    c.PlaceOfBirth=Request["birthplace"];
    c.IDNumber=Request["idno"];
    c.IDType=Request["idtype"];
    c.SrcOfFunds=Request["funds"];
    c.Employment=Request["empType"];
    c.Employer=Request["employer"];
    c.NatureOfWork=Request["natureBiz"];
    c.DateUpdated=updateDate;
    c.CustomerID="CC-003-000000286";
     var result = CustomerManager.UpdateCustomer(customer);
    <h1>@result</h1>
}